package com.lagou.edu.dao;

import com.lagou.edu.pojo.AuthCode;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface CodeDao extends JpaRepository<AuthCode, Long> {
    AuthCode findByEmailAndCode(String email, String code);
}
